package com.fduss.mazegame.core.unit.feature;

import com.fduss.mazegame.core.maze.Maze;

/**
 *
 * @author Duocai Wu
 * @Date 2017/10/4
 */
public interface HasEvent {
    /**
     * handle the event
     * @param maze almost all message that may be changed by the event is stored in maze object
     * @param ob the object that fire this event.
     */
    void handleEvent(Maze maze, HasEvent ob);
}
